<?php
namespace app\command;

use think\console\Command;
use think\console\Input;
use think\console\Output;
use app\api\controller\SaveWxlogin;

class SaveLoginCommand extends Command
{
    protected function configure()
    {
        $this->setName('SaveLoginCommand')->setDescription('保持微信公众号登陆');
    }
    protected function execute(Input $input, Output $output)
    {
        $sw = new SaveWxlogin(); 
        $sw->save();
    }
}